package com.wjw.spring5.mapper;

import com.wjw.spring5.entity.User;

import java.util.List;

/**
 * @author wjw
 * @date 2021年11月05日 19:38
 */
public interface UserDao {
    public int addUser(User user);
    public int updateUser(User user);
    public int deleteUser(Integer id);

    public int queryValue();

    public User queryUser(Integer id);

    public List<User> queryAllUser();

    public int[] batchAdd(List<Object[]> batchArgs);

    public int[] batchUpdateUser(List<Object[]> batchArgs);

    public int[] batchDelete(List<Object[]> batchArgs);
}
